﻿<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title>创建文章</title>
    <link rel="stylesheet" href="../assets/css/bootstrap.min.css" />
    <link rel="stylesheet" href="../assets/css/font-awesome.min.css" />
    <link rel="stylesheet" href="../assets/css/ace.min.css" />
    <meta name="keywords" content="Bootstrap模版,Bootstrap模版下载,Bootstrap教程,Bootstrap中文" />
    <meta name="description" content="站长素材提供Bootstrap模版,Bootstrap教程,Bootstrap中文翻译等相关Bootstrap插件下载" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
</head>
<body ng-app="viewApp" class="page-content">

    <form role="form" name="authForm" class="form-horizontal" novalidate>
        <div ng-controller="viewController">

            <div>
                <label>
                    应用程序名称： 
                   
                </label>

                <div>
                    <span class="input-icon input-icon-right">
                        <input id="name" name="name" class="input-xlarge" type="text" required ng-model='title' />
                        <i ng-class="(authForm.name.$dirty && authForm.name.$valid)?'icon-ok-sign':'icon-remove-sign'"></i>
                    </span>
                </div>

                <div ng-class="!(authForm.name.$dirty && authForm.name.$valid)?'help-block  inline':'modal fade'">(不能为空)</div>

                <label>
                    内容：
                </label>
                <div id="editor1">
                    <h1>Hello world!</h1>
                    <p>I'm an instance of <a href="http://ckeditor.com">CKEditor</a>.</p>
                </div>
            </div>
            <br/>
            <div>
                <button class="btn btn-sm" onclick="cppei.closeDialog(false, {value: 2 });">
                    <i class="icon-ok bigger-110"></i>
                    取消
                </button>
                &nbsp; &nbsp; &nbsp;
			<button class="btn btn-sm btn-info" ng-click="onSubmit(authForm.$invalid)">
                <i class="icon-undo bigger-110"></i>
                提交
            </button>
            </div>
        </div>
    </form>

    <script src="../assets/js/jquery-2.0.3.min.js"></script>
    <script src="../assets/js/bootstrap.min.js"></script>
    <script src="../assets/js/typeahead-bs2.min.js"></script>

    <script src="../assets/js/jquery-ui-1.10.3.custom.min.js"></script>
    <script src="../assets/js/jquery.ui.touch-punch.min.js"></script>

    <script src="../assets/js/jquery.hotkeys.min.js"></script>
    <script src="../assets/js/bootbox.min.js"></script>

    <script src="../assets/js/ace-elements.min.js"></script>
    <script src="../assets/js/ace.min.js"></script>

    <script src="../assets/js/ckeditor/ckeditor.js"></script>

    <script src="../assets/js/Promise.js"></script>
    <script src="../assets/js/angular-1.4.1.min.js"></script>
    <script src="../assets/js/cppei/cppei.view.js"></script>
    <script src="../assets/js/cppei/cppei.paginationPlugin.js"></script>
    <script src="../assets/js/cppei/cppei.validate.js"></script>

    <!-- ace scripts -->

    <script src="assets/js/ace-elements.min.js"></script>
    <script src="assets/js/ace.min.js"></script>

    <script src="article-create.js"></script>
    <script>
        cppei.run(view);
    </script>
</body>
</html>
